﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BOL;

namespace Url_CMS_UI.Areas.User.Controllers
{
    public class URLController : Controller
    {
        readonly UrlManagementEntities db = new UrlManagementEntities();
        // GET: User/URL
        public ActionResult Index()
        {
           
            ViewData["CategoryId"] = new SelectList(db.tbl_Category, "CategoryId", "CategoryName");
            return View();
        }

        public ActionResult Create(tbl_Url objUrl)
        {
            
            ViewData["CategoryId"] = new SelectList(db.tbl_Category, "CategoryId", "CategoryName");
            return View();
        }
    }
}